package calorie.com.calorie.response;


import java.util.Date;

public class User {
    private Integer id;// int(8) NOT NULL AUTO_INCREMENT COMMENT 'id',
    private String account;// varchar(20) DEFAULT NULL COMMENT '账号',
    private String nickName;// varchar(20) DEFAULT NULL COMMENT '昵称',
    private String mobilePhone;// varchar(11) DEFAULT NULL COMMENT '手机号码',
    private String realName;// varchar(50) DEFAULT NULL COMMENT '真实姓名',
    private String loginPassword;// varchar(100) DEFAULT NULL COMMENT '登录密码',
    private String dealPassword;//varchar(100) DEFAULT NULL COMMENT '交易密码',
    private String identityNum;// varchar(20) DEFAULT NULL COMMENT '身份证号码',
    private String identityPositivePic;// varchar(100) DEFAULT NULL COMMENT '身份证正面照片地址',
    private String identityNegativePic;// varchar(100) DEFAULT NULL COMMENT '身份证反面照片地址',
    private String invitationCode;// varchar(20) DEFAULT NULL COMMENT '邀请码',
    private Integer superiorId;// int(8) DEFAULT NULL COMMENT '上线id',
    private String receivingAddress;// varchar(100) DEFAULT NULL COMMENT '收货地址',
    private String email;// varchar(50) DEFAULT NULL COMMENT '邮箱',
    private Integer level;// int(2) DEFAULT NULL COMMENT '级别',
    private String portrait;// varchar(100) DEFAULT NULL COMMENT '头像',
    private long createTime;// datetime DEFAULT NULL COMMENT '注册时间',
    private String createIp;//varchar(50) DEFAULT NULL COMMENT '注册ip',
    private String sex;//varchar(4) DEFAULT NULL COMMENT '性别',
    private int status;//status等于-1，就代表第一次登陆 0代表未激活 1代表已经激活
    private String weight;//体重
    private String height;//身高
    private String moneyAddress;
    private String receivingName;
    private String receivingPhone;
    private String loginTime;


    public String getReceivingName() {
        return receivingName;
    }

    public void setReceivingName(String receivingName) {
        this.receivingName = receivingName;
    }

    public String getReceivingPhone() {
        return receivingPhone;
    }

    public void setReceivingPhone(String receivingPhone) {
        this.receivingPhone = receivingPhone;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public String getMoneyAddress() {
        return moneyAddress;
    }

    public void setMoneyAddress(String moneyAddress) {
        this.moneyAddress = moneyAddress;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public User() {
    }

    public User(Integer id, String account, String nickName, String mobilePhone, String realName, String loginPassword, String dealPassword, String identityNum, String identityPositivePic, String identityNegativePic, String invitationCode, Integer superiorId, String receivingAddress, String email, Integer level, String portrait, long createTime, String createIp, String sex) {
        this.id = id;
        this.account = account;
        this.nickName = nickName;
        this.mobilePhone = mobilePhone;
        this.realName = realName;
        this.loginPassword = loginPassword;
        this.dealPassword = dealPassword;
        this.identityNum = identityNum;
        this.identityPositivePic = identityPositivePic;
        this.identityNegativePic = identityNegativePic;
        this.invitationCode = invitationCode;
        this.superiorId = superiorId;
        this.receivingAddress = receivingAddress;
        this.email = email;
        this.level = level;
        this.portrait = portrait;
        this.createTime = createTime;
        this.createIp = createIp;
        this.sex = sex;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    public String getDealPassword() {
        return dealPassword;
    }

    public void setDealPassword(String dealPassword) {
        this.dealPassword = dealPassword;
    }

    public String getIdentityNum() {
        return identityNum;
    }

    public void setIdentityNum(String identityNum) {
        this.identityNum = identityNum;
    }

    public String getIdentityPositivePic() {
        return identityPositivePic;
    }

    public void setIdentityPositivePic(String identityPositivePic) {
        this.identityPositivePic = identityPositivePic;
    }

    public String getIdentityNegativePic() {
        return identityNegativePic;
    }

    public void setIdentityNegativePic(String identityNegativePic) {
        this.identityNegativePic = identityNegativePic;
    }

    public String getInvitationCode() {
        return invitationCode;
    }

    public void setInvitationCode(String invitationCode) {
        this.invitationCode = invitationCode;
    }

    public Integer getSuperiorId() {
        return superiorId;
    }

    public void setSuperiorId(Integer superiorId) {
        this.superiorId = superiorId;
    }

    public String getReceivingAddress() {
        return receivingAddress;
    }

    public void setReceivingAddress(String receivingAddress) {
        this.receivingAddress = receivingAddress;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getCreateIp() {
        return createIp;
    }

    public void setCreateIp(String createIp) {
        this.createIp = createIp;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
